package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.supervision.dto.JzdxCrimeInfoDTO;
import com.engine4cloud.tdf.supervision.dto.create.JzdxCrimeInfoCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.JzdxCrimeInfoQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxCrimeInfoResultDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxCrimeInfoEntity;
import com.engine4cloud.tdf.supervision.entity.JzdxEntity;

import java.util.List;

public interface JzdxCrimeInfoService extends IService<JzdxCrimeInfoEntity> {
    void saveBatchCrimeInfoList(JzdxCrimeInfoCreateDTO dto);

    List<JzdxCrimeInfoResultDTO> findList(JzdxCrimeInfoQueryDTO dto);

    List<JzdxCrimeInfoResultDTO> findDetailList(String code);

    Boolean updateBatch(JzdxEntity entity, List<JzdxCrimeInfoDTO> crimeList);
}